home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 10 - 1994 / 10.10 Oct 94 / Sprocket / AppSpecific / ToolWindow.h < prev   
Encoding:
C/C++ Source or Header  |  1994-08-25  |  538 b   |  35 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ToolWindow.h
  3.  
  4.     Contains:    A simple tool palette window
  5.                 
  6.     Written by: Dave Falkenburg
  7.     
  8.     Copyright:    © 1993-94 by Dave Falkenburg, all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.      
  12.  */
  13.  
  14. #ifndef        _TOOLWINDOW_
  15. #define        _TOOLWINDOW_
  16.  
  17. #ifndef        _WINDOW_
  18. #include    "Window.h"
  19. #endif
  20.  
  21. typedef    short    ToolTemplateID;
  22.  
  23. class    TToolWindow    :    public TWindow
  24.     {
  25. private:
  26.     ToolTemplateID        fTemplateID;
  27.     
  28. public:
  29.                         TToolWindow(ToolTemplateID toolTemplate);
  30.  
  31.     virtual WindowPtr    MakeNewWindow(WindowPtr behindWindow);
  32.     };
  33.  
  34. #endif
  35.